package com.cskaoyan.mall.promo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cskaoyan.mall.promo.model.SeckillGoods;
import org.apache.ibatis.annotations.Param;

public interface SeckillGoodsMapper extends BaseMapper<SeckillGoods> {

    int decreaseStock(@Param("id") Long id, @Param("decreaseNum") int decreaseNum);
}
